package com.emip.dao;

import java.util.List;

import com.emip.bean.MenuDefBean;

public interface MenuDefDAO {
	//public void update(MenuDefBean entity);
	//public String add(MenuDefBean entity);
	public MenuDefBean findByID(String ID);
	public List<MenuDefBean> getAll();
	public List<MenuDefBean> getByLevel(String level);
	//public void remove(MenuDefBean entity);
	
	//get menu level by role
	public List<MenuDefBean> getByRoleLevel(String level, int roleId);
	
	
	
}
